[INFO] cloning repository https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffairphone-mirror%2Fplatform_external_rust_crates_codespan-reporting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffairphone-mirror%2Fplatform_external_rust_crates_codespan-reporting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8421715e7e9d7ba6298de3c14cd245be6f2e2d2
[INFO] fixing fairphone-mirror/platform_external_rust_crates_codespan-reporting against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffairphone-mirror%2Fplatform_external_rust_crates_codespan-reporting" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting
[INFO] finished tweaking git repo https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting
[INFO] tweaked toml for git repo https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fairphone-mirror/platform_external_rust_crates_codespan-reporting already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38
[INFO] running `Command { std: "docker" "start" "a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_json v1.0.62
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]     Checking dtoa v0.4.7
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]     Checking utf8parse v0.2.0
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking similar v1.2.2
[INFO] [stderr]     Checking unindent v0.1.7
[INFO] [stderr]     Checking codespan-reporting v0.11.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking terminal_size v0.1.16
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking dirs-next v1.0.2
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking console v0.14.0
[INFO] [stderr]     Checking peg v0.6.3
[INFO] [stderr]    Compiling structopt-derive v0.4.14
[INFO] [stderr]     Checking rustyline v6.3.0
[INFO] [stderr]     Checking structopt v0.3.21
[INFO] [stderr]     Checking serde_yaml v0.8.17
[INFO] [stderr]     Checking insta v1.6.3
[INFO] [stderr]    Migrating examples/reusable_diagnostic.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/term.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/term.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/custom_files.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/peg_calculator.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/readme_preview.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.44s
[INFO] [stderr] crater-edition-check: codespan-reporting v0.11.1 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking codespan-reporting v0.11.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> examples/readme_preview.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> examples/readme_preview.rs:312:10
[INFO] [stdout]     |
[INFO] [stdout] 312 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/support/color_buffer.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.90s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking codespan-reporting v0.11.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl Iterator<Item = (Metrics, char)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/term/renderer.rs:668:10
[INFO] [stdout]     |
[INFO] [stdout] 668 |     ) -> impl Iterator<Item = (Metrics, char)> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/term/renderer.rs:116:6
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<'writer, 'config> Renderer<'writer, 'config> {
[INFO] [stdout]     |      ^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 666 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/reusable_diagnostic.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl Iterator<Item = (Metrics, char)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/term/renderer.rs:668:10
[INFO] [stdout]     |
[INFO] [stdout] 668 |     ) -> impl Iterator<Item = (Metrics, char)> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/term/renderer.rs:116:6
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl<'writer, 'config> Renderer<'writer, 'config> {
[INFO] [stdout]     |      ^^^^^^^  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 666 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/readme_preview.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/peg_calculator.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/custom_files.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/term.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/term.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.06s
[INFO] [stderr] crater-edition-check: codespan-reporting v0.11.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking codespan-reporting v0.11.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 294 |                     self.set_color(self.styles().label(severity, LabelStyle::Primary))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 297 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:302:69
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 302 |                     '\t' => (0..metrics.unicode_width).try_for_each(|_| write!(self, " "))?,
[INFO] [stdout]     |                                                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:434:33
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 434 |                           None => self.reset()?,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 454 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 436 |                               self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 454 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:450:61
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 450 |                       (0..metrics.unicode_width).try_for_each(|_| write!(self, "{}", caret_ch))?;
[INFO] [stdout]     |                                                               ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 454 |               }
[INFO] [stdout]     |               - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:303:26
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 303 |                     _ => write!(self, "{}", ch)?,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 304 |                 }
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:760:21
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 760 |                     self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:762:21
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 762 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:768:37
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 768 |                 spaces.try_for_each(|_| write!(self, " "))?;
[INFO] [stdout]     |                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     closure construction occurs here
[INFO] [stdout] 769 |             }
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:761:21
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 761 |                     write!(self, "{}", self.chars().pointer_left)?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:855:31
[INFO] [stdout]     |
[INFO] [stdout] 849 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 850 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 851 | |             .take_while(|(metrics, _)| metrics.byte_index < start + 1)
[INFO] [stdout]     | |______________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 855 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_top))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 856 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/term/renderer.rs:851:25: 851:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:849:29
[INFO] [stdout]     |
[INFO] [stdout] 849 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 850 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:889:31
[INFO] [stdout]     |
[INFO] [stdout] 883 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 884 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 885 | |             .take_while(|(metrics, _)| metrics.byte_index < start)
[INFO] [stdout]     | |__________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 889 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_bottom))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 890 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/term/renderer.rs:885:25: 885:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:883:29
[INFO] [stdout]     |
[INFO] [stdout] 883 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 884 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0500, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0500`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `codespan-reporting` (lib) due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 294 |                     self.set_color(self.styles().label(severity, LabelStyle::Primary))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 297 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:302:69
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 302 |                     '\t' => (0..metrics.unicode_width).try_for_each(|_| write!(self, " "))?,
[INFO] [stdout]     |                                                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:434:33
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 434 |                           None => self.reset()?,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 454 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________immutable borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 436 |                               self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 454 |               }
[INFO] [stdout]     |               - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:450:61
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |                                    ----
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |  __________________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout] ...   |
[INFO] [stdout] 421 | |                 .chain(std::iter::once((placeholder_metrics, '\0')))
[INFO] [stdout]     | |____________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 450 |                       (0..metrics.unicode_width).try_for_each(|_| write!(self, "{}", caret_ch))?;
[INFO] [stdout]     |                                                               ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                                               |
[INFO] [stdout]     |                                                               closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 454 |               }
[INFO] [stdout]     |               - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `std::iter::Chain<impl Iterator<Item = (Metrics, char)>, std::iter::Once<(Metrics, char)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |               for (metrics, ch) in self
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 413 | |                 .char_metrics(source.char_indices())
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:303:26
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ----------------------------------------
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  immutable borrow occurs here
[INFO] [stdout]     |                                  a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 303 |                     _ => write!(self, "{}", ch)?,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 304 |                 }
[INFO] [stdout] 305 |             }
[INFO] [stdout]     |             - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:277:34
[INFO] [stdout]     |
[INFO] [stdout] 277 |             for (metrics, ch) in self.char_metrics(source.char_indices()) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:760:21
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 760 |                     self.set_color(self.styles().label(severity, label_style))?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:762:21
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 762 |                     self.reset()?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:768:37
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 768 |                 spaces.try_for_each(|_| write!(self, " "))?;
[INFO] [stdout]     |                                     ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     closure construction occurs here
[INFO] [stdout] 769 |             }
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `codespan-reporting` (lib test) due to 13 previous errors
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/term/renderer.rs:761:21
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              -------------------------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              immutable borrow occurs here
[INFO] [stdout]     |                              a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 761 |                     write!(self, "{}", self.chars().pointer_left)?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 770 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator<Item = (Metrics, char)>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:750:30
[INFO] [stdout]     |
[INFO] [stdout] 750 |         for (metrics, ch) in self.char_metrics(char_indices) {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:855:31
[INFO] [stdout]     |
[INFO] [stdout] 849 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 850 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 851 | |             .take_while(|(metrics, _)| metrics.byte_index < start + 1)
[INFO] [stdout]     | |______________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 855 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_top))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 856 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/term/renderer.rs:851:25: 851:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:849:29
[INFO] [stdout]     |
[INFO] [stdout] 849 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 850 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `*self` but it is already borrowed
[INFO] [stdout]    --> src/term/renderer.rs:889:31
[INFO] [stdout]     |
[INFO] [stdout] 883 |           for (metrics, _) in self
[INFO] [stdout]     |                               ----
[INFO] [stdout]     |                               |
[INFO] [stdout]     |  _____________________________borrow occurs here
[INFO] [stdout]     | |
[INFO] [stdout] 884 | |             .char_metrics(source.char_indices())
[INFO] [stdout] 885 | |             .take_while(|(metrics, _)| metrics.byte_index < start)
[INFO] [stdout]     | |__________________________________________________________________- a temporary with access to the first borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 889 |                   .try_for_each(|_| write!(self, "{}", self.chars().multi_bottom))?;
[INFO] [stdout]     |                                 ^^^        ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 closure construction occurs here
[INFO] [stdout] 890 |           }
[INFO] [stdout]     |           - ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `TakeWhile<impl Iterator<Item = (Metrics, char)>, {closure@src/term/renderer.rs:885:25: 885:39}>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/term/renderer.rs:883:29
[INFO] [stdout]     |
[INFO] [stdout] 883 |           for (metrics, _) in self
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 884 | |             .char_metrics(source.char_indices())
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/term/renderer.rs:667:23
[INFO] [stdout]     |
[INFO] [stdout] 667 |         char_indices: impl Iterator<Item = (usize, char)>,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 665 ~     fn char_metrics<T: Iterator<Item = (usize, char)>>(
[INFO] [stdout] 666 |         &self,
[INFO] [stdout] 667 ~         char_indices: T,
[INFO] [stdout] 668 ~     ) -> impl Iterator<Item = (Metrics, char)> + use<T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0500, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0500`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38", kill_on_drop: false }`
[INFO] [stdout] a5a8b563b277f9ae0d9fc1378ba0bc4cb32dc6e2ad06d25de40730b7d37fdb38
